
import sys, pygame
pygame.init()

size = width, height = 255, 255

color = r, g, b = 0, 0, 0

screen = pygame.display.set_mode(size)

for x in range(width):
    for y in range(height):
        screen.set_at((x, y), (x, y, 0))

while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            sys.exit()
    pygame.display.flip()
